package com.lh.marketing.runner;

import com.baomidou.mybatisplus.extension.api.R;
import com.mysql.cj.x.protobuf.MysqlxNotice;

public enum  RedisKeys {
    SCHEDULE_TASK_LOCK("123");
    private String name;
    RedisKeys() {
    }

    RedisKeys(String name) {
        this.name = name;
    }

    public String build(String toOriginalName) {
        if (RedisKeys.SCHEDULE_TASK_LOCK.equals( toOriginalName)){
            return RedisKeys.SCHEDULE_TASK_LOCK.name;
        }
        return toOriginalName;
    }
}
